.pagination {
  display: none;

  @media screen and (max-width: $single-column-max-width) {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    &:not(.index-page) {
      margin-top: 15px;
    }
  }

  a.pagination-action {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    justify-items: center;
    width: $extra-container-pagination-width;
    cursor: pointer;
    padding: 15px 0;
    @include font-color("color-pagination");

    :not(.pagination-action-icon) {
      transition: all 0.2s linear;
      font-size: 13px;
      font-family: $mono-font-list;
    }

    * {
      transition: all 0.3s linear;
    }

    &:hover {
      text-decoration: none;
      color: $dark-accent;
      @include font-color("");

      * {
        color: inherit;
      }
    }
  }

  .pagination-indicator {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    justify-items: center;
    width: $extra-container-width;
    padding: 15px 0;
    font-size: 12px;
    font-family: $mono-font-list;
  }
}

.extra-container .pagination {
  position: fixed;
  bottom: 0;
  display: flex;
  flex-direction: column;

  .pagination-indicator {
    width: $extra-container-pagination-width;
  }
}